<!DOCTYPE html>
<html>
<head>
	<title>v-model测试</title>
</head>
<body>

	<form id="testform">
		<input v-model="a" type="input" name="a" value=""/>
		<input v-model="b" type="input" name="b" value=""/>
		<input type="submit" value="Submit" />
	</form>
	<script type="text/javascript" src="vue.min.js"></script>
	<script type="text/javascript">
		var searchform = new Vue({
			el:"#testform",
			data:{
				a:100,
				b:200
			}
		});
	</script>
</body>
</html>